package net.cjw.initsb.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import net.cjw.initsb.common.MyMapper;
import net.cjw.initsb.entity.Permission;

public interface PermissionMapper extends MyMapper<Permission> {

	List<Map<String, Object>> selectByStateAndPId(@Param("state") Integer state, @Param("pid") String pid);

	List<Map<String, Object>> selectZtreeData();

	List<String> selectPermissionValueByRoleValue(String roleValue);

	List<String> selectPermissionValueAll();
}